﻿
@{
    Layout = null;
}

<!DOCTYPE html>
<html>
<head>
    <title></title>
    <script type="text/javascript">
        function Save() {
            var saveUrl = "/WordHandDraw/SaveDoc";
            pageofficectrl.SaveFilePage = saveUrl;
            pageofficectrl.WebSave();
        }

        //开始手写
        function StartHandDraw() {
            pageofficectrl.word.StartHandDraw();
        }

        function OnPageOfficeCtrlInit() {
            //添加自定义按钮
            pageofficectrl.AddCustomToolButton("保存", "Save", 1);
            pageofficectrl.AddCustomToolButton("开始手写", "StartHandDraw()", 2);
        }
    </script>

  
</head>
<body>
    <form id="form1">
        <div style="height: 900px; width: auto;">
            @Html.Raw(ViewBag.poCtrl)
        </div>
    </form>
</body>
</html>
